<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta content="" name="description" />
    <meta content="webthemez" name="author" />
    <title>Bootstrap Admin html Template</title>
    <!-- Bootstrap Styles-->
    <link href="__PUBLIC__static/admin/assets/css/bootstrap.css" rel="stylesheet" />
    <!-- FontAwesome Styles-->
    <link href="__PUBLIC__static/admin/assets/css/font-awesome.css" rel="stylesheet" />
    <!-- Morris Chart Styles-->
    <!-- Custom Styles-->
    <link href="__PUBLIC__static/admin/assets/css/custom-styles.css" rel="stylesheet" />
    <!-- Google Fonts-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
    <!-- TABLE STYLES-->
    <link href="__PUBLIC__static/admin/assets/js/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
</head>
<body>
<div id="wrapper">
    {include file="layout/top" / }
    <!--/. NAV TOP  -->
    {include file="layout/left" / }
    <!-- /. NAV SIDE  -->
    <div id="page-wrapper" >
        <div class="header">
            <h1 class="page-header">
                 提 现 <small>列 表</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="{:url('admin/ht/index')}">Home</a></li>
                <li>提现列表</li>
            </ol>
        </div>
        <div id="page-inner">
            <!-- /. ROW  -->
            <div class="row">
                <div class="col-md-12">
                    <!--   Kitchen Sink -->
                    <div class="panel panel-default">
                        <div class="row">
                        </div>
                        <div class="panel-body">
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover">
                                    <thead>
                                    <tr>
                                        <th style=" text-align: center;line-height:20px">支付类型</th>
                                        <th style=" text-align: center;line-height:20px">联系人名称</th>
                                        <th style=" text-align: center;line-height:20px">提现账号</th>
                                        <th style=" text-align: center;line-height:20px">提现金额</th>
                                        <th style=" text-align: center;line-height:20px">提交时间</th>
                                        <th style=" text-align: center;line-height:20px">处理时间</th>
                                        <th style=" text-align: center;line-height:20px">店铺名称</th>
                                        <th style=" text-align: center;line-height:20px">申请状态</th>
                                        <th style=" text-align: center;line-height:20px">操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {volist name="data" id="v"}
                                    <tr class="odd gradeX">
                                        <td style=" text-align: center;line-height:100px">{$v.cash_type}</td>
                                        <td style=" text-align: center;line-height:100px">{$v.cash_name}</td>
                                        <td style=" text-align: center;line-height:100px">{$v.cash_num}</td>
                                        <td style=" text-align: center;line-height:100px">{$v.cash_money}</td>
                                        <td style=" text-align: center;line-height:100px"><?php echo date("Y-m-d H:i:s ",$v['create_time']) ?></td>
                                        <td style=" text-align: center;line-height:100px"><?php echo date("Y-m-d H:i:s ",$v['update_time']) ?></td>
                                        <td style=" text-align: center;line-height:100px">{$v.business_name}</td>
                                        {switch name="$v['cash_status']"}
                                        {case value="0"}
                                        <td style=" text-align: center;line-height:100px;color: lightskyblue;">正在审核</td>
                                        {/case}
                                        {case value="1"}
                                        <td style=" text-align: center;line-height:100px;color: darkseagreen;">审核通过</td>
                                        {/case}
                                        {case value="2"}
                                        <td style=" text-align: center;line-height:100px;color: indianred">已拒绝</td>
                                        {/case}
                                        {default /}
                                        <td style=" text-align: center;line-height:100px;color: peru;" >已撤销</td>
                                        {/switch}
                                        <td class="center" style=" text-align: center;line-height:100px">
                                            {if condition="$v.cash_status == 0"}
                                            <a class="btn btn-primary btn-sm" href="{:url('admin/cash/allowed',array('id' => $v['cid']))}">通过</a>
                                            <a class="btn btn-danger btn-sm" href="{:url('admin/cash/unallowed',array('id' => $v['cid']))}">拒绝</a>
                                            {/if}
                                        </td>
                                    </tr>
                                    {/volist}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    <!-- End  Kitchen Sink -->
                </div>

            </div>


        </div>

    </div>
    <!-- /. PAGE INNER  -->
</div>
<!-- /. PAGE WRAPPER  -->
<!-- /. WRAPPER  -->
<!-- JS Scripts-->
<!-- jQuery Js -->
<script src="__PUBLIC__static/admin/assets/js/jquery-1.10.2.js"></script>
<!-- Bootstrap Js -->
<script src="__PUBLIC__static/admin/assets/js/bootstrap.min.js"></script>
<!-- Metis Menu Js -->
<script src="__PUBLIC__static/admin/assets/js/jquery.metisMenu.js"></script>
<!-- DATA TABLE SCRIPTS -->
<script src="__PUBLIC__static/admin/assets/js/dataTables/jquery.dataTables.js"></script>
<script src="__PUBLIC__static/admin/assets/js/dataTables/dataTables.bootstrap.js"></script>
<script>
    $(document).ready(function () {
        $('#dataTables-example').dataTable();
    });
</script>
<!-- Custom Js -->
<script src="__PUBLIC__static/admin/assets/js/custom-scripts.js"></script>


</body>
</html>
